/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Other;

/**
 *
 * @author Tomy
 */
public class UserConcrete implements User {

    private String name;
    private String password;
    private String description;
    private String lastLogin;
    private Integer wins;
    private Integer loses;
    private Integer ID;

    public UserConcrete(String name, String pw, String desc,
            String lastLogin, int wins, int loses) {
        this.name = name;
        this.password = pw;
        this.description = desc;
        this.lastLogin = lastLogin;
        this.wins = wins;
        this.loses = loses;
    }
    
    public UserConcrete(String name, String pw, String desc,
            String lastLogin, int wins, int loses, int ID) {
        this.name = name;
        this.password = pw;
        this.description = desc;
        this.lastLogin = lastLogin;
        this.wins = wins;
        this.loses = loses;
        this.ID = ID;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String pw) {
        this.password = pw;
    }

    public Integer getNumOfWin() {
        return wins;
    }

    public void setNumOfWin(Integer nWins) {
        this.wins = nWins;
    }

    public Integer getNumOfLose() {
        return loses;
    }

    public void setNumOfLose(Integer nLose) {
        this.loses = nLose;
    }

    public String getLastLogin() {
        return lastLogin;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String descript) {
        this.description = descript;
    }

	public int getID() {
		return this.ID;
	}

	public void setID(int ID) {
		this.ID = ID;
	}

}
